<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    // 原生 JS 数组 API：
    // 参考手册：https://es6.ruanyifeng.com/#docs/array
    // 基础：indexOf  sort  forEach    pop   push  slice  splice
    // 项目：map   find  findIndex   filter
    // ES6：includes

    const arr = [111, 22, 33, 44];

    // const bl = arr.indexOf('你好') !== -1;
    // console.log(bl);

    const bl = arr.includes(111);
    console.log(bl);


  </script>
</body>

</html>